//
//  GetMessage.h
//  YinHang
//
//  Created by idea on 14-9-19.
//  Copyright (c) 2014年 孙彦鹏. All rights reserved.
//

#import <Foundation/Foundation.h>

@class Message;

@protocol messageServiceDelegate <NSObject>

- (void)didRecieveData;

- (void)didRecieveMsg;

@end


@interface GetMessage : NSObject<ASIHTTPRequestDelegate>


@property (nonatomic,assign) BOOL isQuery;

@property (nonatomic,weak) id<messageServiceDelegate> delegate;

@property (nonatomic,strong)Message *pageInfo;

// 取消网络访问
- (void)cancelRequest;

// 加载数据
- (void)pageQuery;

@end
